package com.company.test32;

import java.util.EventObject;

/**
 * Created by v on 16-12-8.
 */
public class TickEvent extends EventObject{
    private long tickCount;
    private long tickInterval;

    public TickEvent(Object source,long tickCount,long tickInterval){
        super(source);
        this.tickCount=tickCount;
        this.tickInterval=tickInterval;
    }

    public long getTickCount() {
        return tickCount;
    }

    public long getTickInterval() {
        return tickInterval;
    }
}
